/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.example;

/**
 *
 * @author Shameera
 */
public class PathConverter {
    private String filepath;

    public PathConverter() {
    }

    public String getWindowsPath(String filepath){  // worked
        this.filepath = filepath;
        String tempPath = this.filepath.substring(1);
        tempPath = tempPath.replace('/', '\\');
        System.out.println("edited windows path = "+tempPath);
        return tempPath;
    }

}
